Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@lage-run/worker-threads-pool
Advanced tools
A worker_threads pool implementation based on the official Node.js async_hooks documentation
This is an worker_threads
based threadpool implementation. We had to implement one of these because lage
needs access to the stdin/stdout of the workers themselves for the purpose of logging and preserving them as cached outputs. This way, the workers can be long lived, but the their logs will be associated with the correct target.
It is completely based on the Node.js documentation for async_hook
:
https://nodejs.org/api/async_context.html#using-asyncresource-for-a-worker-thread-pool
FAQs
A worker_threads pool implementation based on the official Node.js async_hooks documentation
The npm package @lage-run/worker-threads-pool receives a total of 542 weekly downloads. As such, @lage-run/worker-threads-pool popularity was classified as not popular.
We found that @lage-run/worker-threads-pool demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.